import { joinSafe, dirname } from "upath";

// 根目录
export const BASE_DIR = dirname(__dirname);

// 输出目录
export const OUT_DIR = joinSafe(BASE_DIR, "../dict");

// CSS输出目录
export const OUT_CSS_DIR = joinSafe(OUT_DIR, "/css");

// 文档输出目录
export const OUT_DOCS_DIR = joinSafe(OUT_DIR, "/docs");

// HTML源码目录
export const HTML_DIR = joinSafe(BASE_DIR, "../src/index.html");

// Sass源码目录
export const SASS_DIR = [
  joinSafe(BASE_DIR, "../src/scss/*.scss"),
  joinSafe(BASE_DIR, "../src/scss/!_*.scss")
];
